<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<link href="<%=request.getContextPath() %>/resource/css/themes/default/easyui.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath() %>/resource/css/themes/icon.css" rel="stylesheet" type="text/css" />
	<script src="<%=request.getContextPath() %>/resource/js/jquery-1.8.2.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/easyui-lang-zh_CN.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/ske-constants.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/ske-common.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/sketoolweb-admin-guide.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		$(function() {
			adminAjaxLoadHotCatg();
		});
	</script>
</head>
<body class="easyui-layout" style="margin: 5px;">
	<div data-options="region:'north', collapsible:false" style="height: 300px;">
		<table id="catgGrid"></table>  
	</div>
	<div region="center" split="true" title="网址管理">
		<table id="itemGrid"></table> 
	</div>
	
	<div id="add_catg" class="easyui-dialog" title="添加分类" data-options="modal:true,closed:true,iconCls:'icon-add'" style="width:380px;height:160px;">
		<form id="form_catg_add" method="post">
			<div style="padding:10px 0 10px 10px">
				<table>
	                <tr align="right">
	                    <td>分类名称：</td>
	                    <td><input id="add_catg_name" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>顺序号：</td>
	                    <td><input id="add_catg_seq" class="easyui-numberspinner" value="1" style="width:80px;" required="required" data-options="min:1,max:9999,editable:true"></td>
	                </tr>
	            </table>
			</div>
		</form>
	</div>
	
	<div id="modify_catg" class="easyui-dialog" title="修改分类" data-options="modal:true,closed:true" style="width:380px;height:160px;">
		<form id="form_catg_modify" method="post">
			<div style="padding:10px 0 10px 10px">
				<table>
	                <tr align="right">
	                    <td>分类名称：</td>
	                    <td><input id="modify_catg_name" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>顺序号：</td>
	                    <td><input id="modify_catg_seq" class="easyui-numberspinner" value="1" style="width:80px;" required="required" data-options="min:1,max:9999,editable:true"></td>
	                </tr>
	            </table>
			</div>
		</form>
	</div>
	
	<div id="add_item" class="easyui-dialog" title="添加网址" data-options="modal:true,closed:true,iconCls:'icon-add'" style="width:380px;height:180px;">
		<form id="form_item_add" method="post">
			<div style="padding:10px 0 10px 10px">
				<table>
	                <tr align="right">
	                    <td>网站名称：</td>
	                    <td><input id="add_item_name" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>网站地址：</td>
	                    <td><input id="add_item_url" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>顺序号：</td>
	                    <td><input id="add_item_seq" class="easyui-numberspinner" value="1" style="width:80px;" required="required" data-options="min:1,max:9999,editable:true"></td>
	                </tr>
	            </table>
			</div>
		</form>
	</div>
	
	<div id="modify_item" class="easyui-dialog" title="修改分类" data-options="modal:true,closed:true" style="width:380px;height:180px;">
		<form id="form_item_modify" method="post">
			<div style="padding:10px 0 10px 10px">
				<table>
	                <tr align="right">
	                    <td>网站名称：</td>
	                    <td><input id="modify_item_name" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>网站地址：</td>
	                    <td><input id="modify_item_url" class="easyui-validatebox" type="text" data-options="required:true"/></td>
	                </tr>
	                <tr align="right">
	                    <td>顺序号：</td>
	                    <td><input id="modify_item_seq" class="easyui-numberspinner" value="1" style="width:80px;" required="required" data-options="min:1,max:9999,editable:true"></td>
	                </tr>
	            </table>
			</div>
		</form>
	</div>
</body>
</html>